home *** CD-ROM | disk | FTP | other *** search
/ Aminet 44 / Aminet 44 (2001)(GTI - Schatztruhe)[!][Aug 2001].iso / Aminet / util / misc / AslToRT.readme < prev    next >
Encoding:
Text File  |  2001-07-04  |  7.1 KB  |  192 lines

  1. Short:    Asl/Arp/Req/Intuition/RT requester to RT/Asl patcher
  2. Author:   tboeckel@uni-paderborn.de (Thore Boeckelmann)
  3. Uploader: tboeckel@uni-paderborn.de (Thore Boeckelmann)
  4. Type:     util/misc
  5.  
  6. TITLE
  7.   AslToRT
  8.  
  9.  
  10. VERSION
  11.   39.3
  12.  
  13.  
  14. AUTHOR
  15.   Thore Böckelmann <tboeckel@uni-paderborn.de>
  16.  
  17.  
  18. REQUIREMENTS
  19.   Any Amiga® (compatible) computer with at least OS3.0 and
  20.  
  21.  
  22. DESCRIPTION
  23.   AslToRT is a utility that is meant to replace RTPatch by Nico François, the
  24.   original author of the ReqTools package. RTPatch has several bugs when running
  25.   under OS3.x. It uses a very tricky mechanism to patch the desired libraries
  26.   only when they are opened. This causes a very annoying behavior with
  27.   asl.library. Under OS2.x this library kept its open counter equal to zero,
  28.   which is no longer the fact for OS3.x. As a result the library's name is
  29.   changed from "asl.library" to "asl.§ibrary", where the "§" stands for an
  30.   unprintable character. The effect is, that asl.library will be loaded again
  31.   and again, because it is no longer in memory with the correct name. This is
  32.   very bad in the way Amiga shared libraries are intended to work. So you have
  33.   no longer one copy of the library in memory, but several identical copies, of
  34.   which each eats up your machines memory.
  35.  
  36.   AslToRT does all the things that RTPatch does, but in a (hopefully) much
  37.   better way. Additionally you can choose very exactly which libraries and which
  38.   functions should be patched to use the apropriate ReqTools function.
  39.  
  40.   From version 39.2 on AslToRT can behave like a fictious program called
  41.   "RTToAsl", that means it can redirect all of reqtools' requesters to the
  42.   equivalent asl requesters. The desired work mode is selected by the new
  43.   PATCHMODE option.
  44.  
  45.  
  46. USAGE
  47.   You can start AslToRT from either Workbench or Shell with the following
  48.   options:
  49.  
  50.   ASLFILE/S,ASLFONT/S,ASLSCREEN/S,ASLALL/S,INTUIAUTOREQ/S,INTUIEASYREQ/S,
  51.   INTUIALL/S,REQFILE/S,REQFONT/S,REQLONG/S,REQSTRING/S,REQTEXT/S,REQCOLOR/S,
  52.   REQALL/S,ARPFILE/S,ARPALL/S,REQTOOLSFILE/S,REQTOOLSFONT/S,REQTOOLSSCREEN/S,
  53.   REQTOOLSALL/S,ALL/S,PATCHMODE,IGNOREHEIGHT/S
  54.  
  55.   ASLFILE/S: patch asl.library's file requesters
  56.   ASLFONT/S: patch asl.library's font requesters
  57.   ASLSCREEN/S: patch asl.library's screenmode requesters
  58.   ASLALL/S: patch all of asl.library's requesters
  59.   INTUIAUTOREQ/S: patch intuition.library/AutoRequest()
  60.   INTUIEASYREQ/S: patch intuition.library/EasyRequest()
  61.   INTUIALL/S: patch all of intuition.library's requesters
  62.   REQFILE/S: patch req.library's file requesters
  63.   REQFONT/S: patch req.library's font requesters
  64.   REQLONG/S: patch req.library/GetLong()
  65.   REQSTRING/S: patch req.library/GetString()
  66.   REQTEXT/S: patch req.library/TextRequest()
  67.   REQCOLOR/S: patch req.library/ColorRequest()
  68.   REQALL/S: patch all of req.library's requesters
  69.   ARPFILE/S: patch arp.library's file requesters
  70.   ARPALL/S: patch all of arp.library's requesters
  71.   REQTOOLSFILE/S: patch reqtools.library's file requesters
  72.   REQTOOLSFONT/S: patch reqtools.library's font requesters
  73.   REQTOOLSSCREEN/S: patch reqtools.library's screenmode requesters
  74.   REQTOOLSALL/S: patch all of reqtools.library's requesters
  75.   ALL/S: patch all requesters of every library (asl/arp/req/intuition/reqtools)
  76.   PATCHMODE: either ASL or REQTOOLS (default: REQTOOLS)
  77.   IGNOREHEIGHT/S: ignore the height of file/font/screenmode requesters and use
  78.     ReqTools' preferred window height
  79.  
  80.   You must specify at least one of these options, else AslToRT will exit
  81.   immediately without patching anything.
  82.  
  83.   You can start and quit AslToRT at any time. Only requesters allocated after
  84.   running AslToRT will be redirected to ReqTools. To quit AslToRT simply start
  85.   it again.
  86.  
  87.  
  88. INSTALLATION
  89.   Copy AslToRT where ever you want, but SYS:WBStartup is a very good place
  90.  
  91.  
  92. KNOWN BUGS
  93.   reqtools.library is not able to emulate all details of asl.library. Especially
  94.   the very new functionality introduced with asl.library V44 (OS3.9) cannot be
  95.   done with reqtools.
  96.  
  97.   Some requesters by intuition/AutoRequest() cannot be patched to
  98.   reqtools.library because they use some tricky mechanisms to place the text
  99.   within the window, which reqtools.library cannot do (i.e. the device info
  100.   requester of DiskSalv V2+).
  101.  
  102.   Most of Workbench's and dos.library's message requesters can be redirected to
  103.   reqtools.library, but some cannot. These are the requesters that are build by
  104.   intuition/BuildSysRequest() and intuition/BuildEasyRequest() and are displayed
  105.   asynchronously. Although reqtools.library itself can do the same thing it is
  106.   not possible to emulate intuiton.library's way by reqtools.library (i.e.
  107.   Workbench's Version/Copyright requester).
  108.  
  109.   Since version 39.2 you can redirect reqtools' requesters to asl, but the
  110.   asychronous requesters of reqtools cannot be emulated by asl, therefore these
  111.   requesters will not be redirected. But as it is very hard to find programs
  112.   using reqtools.library directly these days I assume this is not a very big
  113.   drawback.
  114.  
  115.   For those who are interested, AslToRT patches the following functions (if
  116.   enabled via options):
  117.  
  118.   asl.library:
  119.     AllocAslRequest()
  120.     FreeAslRequest()
  121.     AslRequest()
  122.  
  123.   intuition.library:
  124.     AutoRequest()
  125.     EasyRequestArgs()
  126.  
  127.   req.library:
  128.     FileRequester()
  129.     GetLong()
  130.     GetString()
  131.     NewGetString()
  132.     TextRequest()
  133.     ColorRequester()
  134.     ExtendedColorRequester()
  135.  
  136.   arp.library:
  137.     FileRequest()
  138.  
  139.   reqtools.library:
  140.     rtAllocRequest()
  141.     rtFreeRequest()
  142.     rtFreeFileList()
  143.     rtChangeReqAttr()
  144.     rtFileRequest()
  145.     rtFontRequest()
  146.     rtScreenModeRequest()
  147.  
  148.  
  149. HISTORY
  150.   39.1 (03.01.2001):
  151.     - initial Aminet release
  152.  
  153.   39.2 (10.05.2001):
  154.     - result for intuition/AutoRequest() was swapped. Fixed.
  155.     - added possibility to use AslToRT for redirection of reqtools requesters to
  156.       asl instead of vice versa.
  157.  
  158.   39.3 (11.06.2001):
  159.     - sometimes files didn't pass the filter functions because the current
  160.       directory wasn't set correctly. Thus WBPattern didn't allow to select any
  161.       file. This is fixed now. Thanks to Gerhard Pircher for his testing.
  162.     - system failure requesters are now centered on the screen
  163.     - rewrote TagList handling
  164.     - when using the same asl requester several times each requester had the
  165.       name of the first request set, instead of a new one. Thanks to Gernod
  166.       Schomberg for that hint.
  167.  
  168.  
  169. COPYRIGHT AND DISCLAIMER
  170.   AslToRT is copyrighted 2001 by Thore Böckelmann.
  171.   All rights reserved. This program is freeware, so no financial donations  
  172.   required. Redistribution allowed if the package is left unchanged. The author
  173.   is not responsible for any damage caused by the use or misuse of this
  174.   documentation and/or the program(s) it describes.
  175.  
  176.   AslToRT uses the SmartReadArgs package by Thomas Aglassinger.
  177.  
  178.  
  179. SEE ALSO
  180.   ReqTools 2.9 User package
  181.  
  182.  
  183. ============================= Archive contents =============================
  184.  
  185. Original  Packed Ratio    Date     Time    Name
  186. -------- ------- ----- --------- --------  -------------
  187.    32232   16745 48.0% 11-Jun-01 09:52:14  AslToRT
  188.     2452    1554 36.6% 11-Jun-01 09:56:08  AslToRT.info
  189.     6848    2796 59.1% 11-Jun-01 09:53:50  AslToRT.readme
  190. -------- ------- ----- --------- --------
  191.    41532   21095 49.2% 12-Jun-101 03:40:10   3 files
  192.